package com.hzdl.web.dao;

import com.hzdl.web.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Sfx
 * Date: 2018/9/2 0002
 * Time: 下午 8:42
 * To change this template use File | Settings | File Templates.
 */
public interface UserDao {
    User getUserByAccountAndPassword(@Param("account") String account, @Param("password") String password);

    void updateLoginTime(User user);

    void addUser(User user);

    List<User> getUsers();
}
